package com.maybach.common.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

public class CommonEnumDO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * This field corresponds to the database column b2b_common_enum.id
     */
    private Long id;

    /**
     * This field corresponds to the database column b2b_common_enum.group_code
     */
    private String groupCode;

    /**
     * This field corresponds to the database column b2b_common_enum.group_name
     */
    private String groupName;

    /**
     * This field corresponds to the database column b2b_common_enum.code
     */
    private String code;

    /**
     * This field corresponds to the database column b2b_common_enum.name
     */
    private String name;

    /**
     * This field corresponds to the database column b2b_common_enum.status
     */
    private Integer status;

    /**
     * This field corresponds to the database column b2b_common_enum.sort_order
     */
    private Integer sortOrder;

    /**
     * This field corresponds to the database column b2b_common_enum.is_default
     */
    private Boolean isDefault;

    /**
     * This field corresponds to the database column b2b_common_enum.memo
     */
    private String memo;

    /**
     * This field corresponds to the database column b2b_common_enum.gmt_create
     */
    private Date gmtCreate;

    /**
     * This field corresponds to the database column b2b_common_enum.gmt_modified
     */
    private Date gmtModified;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getGroupCode() {
		return groupCode;
	}

	public void setGroupCode(String groupCode) {
		this.groupCode = groupCode;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getSortOrder() {
		return sortOrder;
	}

	public void setSortOrder(Integer sortOrder) {
		this.sortOrder = sortOrder;
	}

	public Boolean getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(Boolean isDefault) {
		this.isDefault = isDefault;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}


    @Override
    public String toString(){
        return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
    }
}